export const doDetail = (id) => {
	return uni.$uv.http.get(`/merchant/getMerchantInfo/${id}`)
}

export const doProductList = (params) => {
	return uni.$uv.http.get('/product/getMerchantList', {
		params
	})
}

export const doCreateOrder = (data) => {
	return uni.$uv.http.post(`/orders/submit`, data, {
		custom: {
			toast: true,
			code: true
		}
	})
}